package org.slsale.service.user;


import org.slsale.pojo.User;

public interface UserService {

    /**
     * 登录
     * @param user
     * @return
     * @throws Exception
     */
    public User getLoginUser(User user) throws Exception;

    /**
     * 验证用户是否存在
     * @param user
     * @return
     * @throws Exception
     */
    public int loginCodeIsExist(User user) throws Exception;

    /**
     * 修改用户数据
     * @param user
     * @return
     * @throws Exception
     */
    public int modifyUser(User user) throws Exception;
}
